<!DOCTYPE html>
<html lang="zh-CN">
<head>

    <meta charset="UTF-8">
    <title>首页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="首页demo">
    <meta name="author" content="i@yupoxiong.com">

    <link href="__PLUGINS__/bootstrap/css/bootstrap.min.css" rel="stylesheet" >

    <style>
        .bd-placeholder-img {
            font-size: 1.125rem;
            text-anchor: middle;
        }

        @media (min-width: 768px) {
            .bd-placeholder-img-lg {
                font-size: 3.5rem;
            }
        }
    </style>
    <link href="__CSS__/cover.css" rel="stylesheet">
</head>
<body class="text-center">
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
    <header class="masthead mb-auto">
        <div class="inner">
            <h3 class="masthead-brand">前台演示</h3>
            <nav class="nav nav-masthead justify-content-center">
                <a class="nav-link active" href="{:url('index/index/index')}">首页</a>
                <a class="nav-link" href="{:url('index/user/index')}">个人中心</a>
            </nav>
        </div>
    </header>

    <main role="main" class="inner cover">
        <h1 class="cover-heading">当前{$is_login_text}</h1>

        <p class="lead">
            {if $is_login}
            <a href="{:url('index/auth/logout')}" class="btn btn-lg btn-secondary">退出</a>
            {else/}
            <a href="{:url('index/auth/login')}" class="btn btn-lg btn-secondary">登录</a>
            {/if}
        </p>
    </main>

    <footer class="mastfoot mt-auto">
        <div class="inner">
            <p>这是个demo页面，可自行修改.</p>
        </div>
    </footer>
</div>
</body>
</html>
